package fr.kirin.logger.model;

import javax.swing.tree.TreeNode;


/**
 * 
 *Represents a sortable thing. 
 * @author kirin
 *
 * @param <E> the type of the thing to sort.
 */
public interface Sortable<E extends TreeNode>
{

    /**
     * Default sort method.
     */
    public abstract void sort();

    /**sort from the current node.
     * 
     * @param node the start node.
     */
    public abstract void sort(E node);

}